package com.itheima_03;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<String> {
    @Override
    public String call() throws Exception {
        for (int i = 0; i < 10; i++) {
            System.out.println(Thread.currentThread().getName()+"执行了...");

        }
        return Thread.currentThread().getName()+"执行结束";
    }
}
